package model.core.graph;

import java.io.Serializable;

public abstract class IToken implements Serializable {
//OVERVIEW: naturla words, related to multi entrances
	private static final long serialVersionUID = -6257514648168684452L;
	
	protected String wrd;
	protected int id;
	
	public IToken(String word) {
		this.wrd = word;
		id = -1;
	}
	
	public int getID() {
		return id;
	}
	
	public void setID(int id) {
		this.id = id;
	}
	
	public String getWord() {
		return wrd;
	}
}
